package com.zw.pm.module.board.dailyoutputtotal;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.pm.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description: 生产日报导入异常 model
 *
 * @Author: China.wsg
 * @Date: 2019/01/09 13:16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ContentRowHeight(15)
@HeadRowHeight(15)
public class DailyOutputTotalModel extends BaseModel {

    @ExcelIgnore
    private Integer id;

    @ExcelIgnore
    private Integer year;

    @ExcelIgnore
    private Integer month;

    @ExcelProperty(value = "日")
    private String date;

    @ExcelProperty(value = "1.自动焊接产量")
    @ColumnWidth(17)
    private String autoWeldWeight;

    @ExcelProperty(value = "体系楼订单")
    @ColumnWidth(17)
    private String systemBuildingWeight;

    @ExcelProperty(value = "财务订单")
    @ColumnWidth(17)
    private String financeWeight;

    @ExcelProperty(value = "备库订单")
    @ColumnWidth(17)
    private String spareStockWeight;

    @ExcelProperty(value = "3.角铝")
    private String aluminumAngleWeight;

    @ExcelProperty(value = "4.锁条")
    private String swordIronWeight;

    @ExcelProperty(value = "5.非焊接类背楞")
    @ColumnWidth(17)
    private String noWeldWeight;

    @ExcelProperty(value = "焊接总产量=1+2")
    @ColumnWidth(17)
    private String weldTotalWeight;

    @ExcelProperty(value = "生产合计=1+2+3+4+5")
    @ColumnWidth(30)
    private String outputTotalWeight;

    @ExcelProperty(value = "模板转出")
    private String boardOutWeight;

    @ExcelProperty(value = "特车厂（铝背楞）")
    @ColumnWidth(17)
    private String aluminumBackingWeight;

    @ExcelProperty(value = "家具厂（角铝锁条半铝支撑")
    @ColumnWidth(30)
    private String aluminumSupportWeight;

    @ExcelProperty(value = "轨道厂（流星锤）")
    @ColumnWidth(17)
    private String bolaWeight;

    @ExcelProperty(value = "汽车冲压厂（铝垫片）")
    @ColumnWidth(25)
    private String aluminumGasketWeight;

    @ExcelProperty(value = "外协生产合计")
    @ColumnWidth(17)
    private String outSourcingTotal;

    @ExcelProperty(value = "模板总生产合计")
    @ColumnWidth(17)
    private String boardTotal;

    @ExcelProperty(value = "导入时间")
    @ColumnWidth(17)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;

    @ExcelProperty(value = "导入失败原因")
    @ColumnWidth(30)
    private String reason;


}
